PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

MPDisposeTaskException

Removes a task exception.

OSStatus MPDisposeTaskException (
                     MPTaskID task,
                     OptionBits action);
task
A value of type MPTaskID that specifies the task whose exception you want to remove.
action
A value of type OptionBits that specifies actions to perform on the task. For example, you can enable single-stepping when the task resumes, or you can pass the exception on to another handler. See Task Exception Disposal Constants for a listing of possible values.
function result
A result code. See Result Codes for a list of possible values. If the specified action is invalid or unsupported, or if the specified task is not suspended, this function returns kMPInsufficientResourcesErr .
DISCUSSION

This function removes the task exception and allows the task to resume operation. If desired, you can enable single-stepping or branch-stepping, or propagate the exception instead.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)